package cn.school.sys.vo;

import cn.school.sys.vo.export.convert.EnableConvert;
import cn.school.sys.vo.export.convert.IsConvert;
import cn.school.sys.vo.export.convert.SexConvert;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户VO
 */
@Data
public class SysUserTeacherImportVo {
    /**
     * 登陆用户名
     */
    @ApiModelProperty(value = "登陆用户名")
    @ExcelProperty(value = "登陆用户名")
    @ColumnWidth(15)
    private String username;
    
    /**
     * 密码
     */
    @ApiModelProperty(value = "登陆密码")
    @ExcelProperty(value = "登陆密码")
    @ColumnWidth(15)
    @ExcelIgnore
    private String password;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    @ExcelProperty(value = "邮箱")
    @ColumnWidth(15)
    private String email;
    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号")
    @ExcelProperty(value = "手机号")
    @ColumnWidth(15)
    private String phone;
    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    @ExcelProperty(value = "性别", converter = SexConvert.class)
    @ColumnWidth(10)
    private String sex;

    /**
     * 帐号启用状态：0->禁用；1->启用
     */
    @ApiModelProperty(value = "帐号启用状态：0->禁用；1->启用")
    @ExcelProperty(value = "启用状态", converter = EnableConvert.class)
    @ColumnWidth(15)
    private String status;

    @ApiModelProperty(value = "是否部门领导")
    @ExcelProperty(value = "部门领导", converter = IsConvert.class)
    @ColumnWidth(15)
    private String isDeptLeader;


    @ApiModelProperty(value = "姓名")
    @ExcelProperty(value = "姓名")
    @ColumnWidth(10)
    private String sysuName;

    @ApiModelProperty(value = "身份证号码")
    @ExcelProperty(value = "身份证号")
    @ColumnWidth(15)
    private String sysuCardNo;

    @ApiModelProperty(value = "学历")
    @ExcelProperty(value = "学历")
    @ColumnWidth(15)
    private String sysuEducation;

    @ApiModelProperty(value = "学位")
    @ExcelProperty(value = "学位")
    @ColumnWidth(10)
    private String sysuAcademicDegree;

    @ApiModelProperty(value = "第一学历毕业学校")
    @ExcelProperty(value = "毕业学校")
    @ColumnWidth(15)
    private String sysuGraduationSchool;

    @ApiModelProperty(value = "工龄")
    @ExcelProperty(value = "工龄")
    @ColumnWidth(10)
    private String sysuWorkingYears;

    @ApiModelProperty(value = "入职时间")
    @ExcelProperty(value = "入职时间")
    @ColumnWidth(12)
    private String sysuHiredate;

    @ApiModelProperty(value = "离职时间")
    @ExcelProperty(value = "离职时间")
    @ColumnWidth(12)
    private String sysuLeavedate;

    /**
     * 所属部门名称
     */
    @ApiModelProperty(value = "所属部门名称")
    @ExcelProperty(value = "所属部门")
    @ColumnWidth(15)
    private String deptName;


}
